/* 
 * File:   admin.h
 * Author: atila
 *
 * Created on 2 de Dezembro de 2010, 18:06
 */

#ifndef ADMIN_H
#define	ADMIN_H

#ifdef	__cplusplus
extern "C" {
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ADMIN_DB "src/admin/admin.bin"
#include "../common/sequence.h"
#include "../common/messages.h"
#include "../common/common.h"

typedef struct {
	char login[81];
	char pass[81];
	
}Admin;

void update_admin(FILE *f);
void create_admin(FILE *f);
void list_admin(FILE *f);
void init_admin(FILE *f);
int validation_admin(FILE *f);


#ifdef	__cplusplus
}
#endif

#endif	/* ADMIN_H */

